# core2 make file.
#
CXXFLAGS = $(shell sdl-config --cflags)
all: static_core2
clean:
	rm -f *.o libcore2.a

# generic targets
static_core2: libcore2.a
libcore2.a: core2.o
	ar rcs libcore2.a *.o
core2.o: core2.h core2.cpp
	g++ -c -g *.cpp $(CXXFLAGS)
